<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
     <%@ taglib prefix="s" uri="/struts-tags" %>
	<%@ taglib prefix="sj" uri="/struts-jquery-tags" %>

    
 <s:form id="form" method="post"
	action="#" theme="simple" cssClass="yform">
	<fieldset style="width: 95%;"><legend
		style="margin-left: 10px; font-weight: bold;">Chi tiết đại lý</legend>
	<div class="type-text">
	<ul  class="form">
		<li class="left">Tên đăng nhập:</li>
		<li class="right"><s:property value="dealer.account.userName" /></li>
		<li class="clr"></li>
		<li class="left">Tên đầy đủ:</li>
		<li class="right"><s:property value="dealer.account.accountInformation.fullName" /> </li>
		<li class="clr"></li>
		<li class="left">Tên công ty:</li>
		<li class="right"><s:property value="dealer.companyName" /></li>
		<li class="clr"></li>
		
		<li class="left">Địa chỉ:</li>
		<li class="right"><s:property value="dealer.account.accountInformation.address" /></li>
		<li class="clr"></li>
		
		<li class="left">Thành phố:</li>
		<li class="right"><s:property value="dealer.account.accountInformation.city.cityName" /></li>
		<li class="clr"></li>
		
		<li class="left">Email:</li>
		<li class="right"><s:property value="dealer.account.accountInformation.email" /></li>
		<li class="clr"></li>
		
		<li class="left">Điện thoại bàn:</li>
		<li class="right"><s:property value="dealer.account.accountInformation.homePhone" /></li>
		<li class="clr"></li>
		
		<li class="left">Di động:</li>
		<li class="right"><s:property value="dealer.account.accountInformation.telephone" /></li>
		<li class="clr"></li>
		
		<li class="left">&nbsp;</li>
		<li class="center">
		    <s:url id="Dealer_kichHoat" value="/Dealer_kichHoat?id=%{dealer.dealerID}" /> 
			<sj:a title="Kích hoạt" id="lnkDealer_kichHoat"
				  href="%{Dealer_kichHoat}" targets="container">
					Kích hoạt
			</sj:a>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<s:url id="Dealer_huy" value="/Dealer_huy?id=%{dealer.dealerID}" /> 
			<sj:a title="Hủy" id="lnkDealer_huy"
				  href="%{Dealer_huy}" targets="container">
					Hủy
			</sj:a>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<s:url id="Dealer_tamKhoa" value="/Dealer_tamKhoa?id=%{dealer.dealerID}" /> 
			<sj:a title="Tạm khóa" id="lnkDealer_tamKhoa"
				  href="%{Dealer_tamKhoa}" targets="container">
					Tạm khóa
			</sj:a>	
		
		</li>
		
		<li class="clr"></li>
	</ul>

	</div>

	</fieldset>
</s:form>
    
    
    